<!DOCTYPE html>
<html>
  <head lang="en">
    <meta charset="UTF-8" />
    <title></title>
    <style>
      body {
        font-size: 30px;
        text-align: center;
        color: red;
      }
      * {
        margin: 0;
        padding: 0;
      }
      .keai {
        color: pink;
      }
      .box {
        width: 200px;
        height: 200px;
        margin: 200px auto;
        position: relative;
        transform-style: preserve-3d;
        transform: rotateX(-50deg) rotateY(20deg);
        animation: move 5s linear infinite;
        animation-timing-function: ease-in-out;
      }
      @keyframes move {
        0% {
          transform: rotateX(-50deg) rotateY(20deg);
        }
        100% {
          transform: rotateX(360deg) rotateY(360deg);
        }
      }
      .box > div {
        width: 100%;
        height: 100%;
        position: absolute;
      }
      .box-top {
        background-image: url(img.png);
        transform: translateZ(100px);
      }
      .box-bot {
        background-image: url(img1.png);
        transform: translateZ(-100px);
      }
      .box-rit {
        transform: translateX(100px) rotateY(90deg);
      }
      .box-lft {
        transform: translateX(-100px) rotateY(90deg);
      }
      .box-frt {
        transform: translateY(100px) rotateX(90deg);
      }
      .box-bak {
        transform: translateY(-100px) rotateX(90deg);
      }
      img {
        width: 100%;
        height: 100%;
        opacity: 0.5;
      }
    </style>
  </head>
  <body>
    <div class="keai"><h1>琪琪小可爱</h1></div>
    <div id="demo"></div>
    <div class="box">
      <div class="box-top"><img src="./imgs/ke.jpg" alt="" /></div>
      <div class="box-bot"><img src="./imgs/ai.jpg" alt="" /></div>
      <div class="box-rit"><img src="./imgs/xiao.jpg" alt="" /></div>
      <div class="box-lft"><img src="./imgs/li.jpg" alt="" /></div>
      <div class="box-frt"><img src="./imgs/jia.jpg" alt="" /></div>
      <div class="box-bak"><img src="./imgs/qi.jpg" alt="" /></div>
    </div>
  </body>
</html>
